#ifndef TAG_H
#define TAG_H

#include <QObject>
#include <QString>

class Tag : public QObject
{
	Q_OBJECT
	
	public:
		Tag();
		
		Tag( QString name, int count );
		
		Q_PROPERTY( QString name READ getName WRITE setName )
		Q_PROPERTY( int count READ getCount WRITE setCount )
	
		void setName( QString _name );
		void setCount( int _count );	
		
		QString getName( ) const;
		int getCount( ) const;
	
	
	private:
		QString name;
		int count;
};
#endif
